Skip to content

feat(vision_agent): report visualization images via callback#62

Merged
humpydonkey merged 4 commits intomainfrom
report-viz
Apr 23, 2024
Merged

feat(vision_agent): report visualization images via callback#62
humpydonkey merged 4 commits intomainfrom
report-viz

Conversation

@humpydonkey
Copy link
Copy Markdown
Contributor

@humpydonkey humpydonkey commented Apr 23, 2024

Report visualization images via callback.
This enables client apps to show those visualization images on a UI.

Images are sent via text in below format:

<VIZ>
<IMG>{base64 encoded image 1}</IMG>
<IMG>{base64 encoded image 2}</IMG>
<IMG>{base64 encoded image 3}</IMG>
</VIZ>

Minor tweaks:

  1. change b64 encoding back to PNG
  2. loosen some test assertion

Copy link
Copy Markdown
Contributor

@dillonalaird dillonalaird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@humpydonkey humpydonkey merged commit f4b334d into main Apr 23, 2024
@humpydonkey humpydonkey deleted the report-viz branch April 23, 2024 16:55
azaj01 pushed a commit to azaj01/vision-agent that referenced this pull request Mar 1, 2025
…-ai#62)

* Send visualization images via callback

* Fix lint errors

* Fix lint errors

* Fix mypy error

---------

Co-authored-by: Yazhou Cao <yazhou.cao@landing.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants